package oms.service;

import java.util.Collection;
import java.util.List;
import oms.entities.Order;
import oms.entities.User;

public interface OrderService {
	
		public void createOrder(Order order);
	
		public void saveOrder(Long orderId);

		public void updateOrder(Long orderId);
	
		public void deleteOrder(Long orderId);
		
		public Order getOrderById(Long orderId);

		public List<Order> ordersList();

		@SuppressWarnings("rawtypes")
		public Collection getOrdersByUser(User user);

}
